﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyWall.aspx.cs" Inherits="FlashGameSite.FormMyWall" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
        <div class="block">
            <div class="block-bot">
                <div class="head">
                    <div class="head-cnt">
                        <h3>My Wall</h3>
                        <div class="cl">
                        </div>
                    </div>
                </div>
            </div>

            <asp:UpdatePanel ID="pnlActivities" runat="server" style="margin:10px;" UpdateMode="Always">
                <ContentTemplate>
                    <table style="width: 500px;">
                        <tr>

                            <td>
                                <label>What's on your mind</label><br />
                                <asp:TextBox ID="txtMessageText" TextMode="MultiLine" CssClass="txtcls" Width="520px" runat="server" Height="40px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="btnSubmit" CssClass="btncls" runat="server" Text="Post" OnClick="btnSubmit_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"></td>
                        </tr>
                    </table>
                    <hr />
                    <asp:DataList ID="GridActivities" CssClass="wallgrid" Width="100%" runat="server">
                        <ItemTemplate>
                            <div style="margin:5px; vertical-align:middle;">
                                <%# DataBinder.Eval(Container.DataItem, "ActivityText")%>
                                </div>
                        </ItemTemplate>
                    </asp:DataList>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>

    </div>
</asp:Content>
